home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #2
/
Amiga Plus CD - 2004 - No. 02.iso
/
AmigaPlus
/
Tools
/
Development
/
AmigaTalk
/
prelude
/
Float.p
< prev
next >
Wrap
Text File
|
2004-01-31
|
4KB
|
127 lines
pTempVar <- <primitive 110 25 >
<primitive 112 pTempVar 1 " truncated " \
#( #[ 16r20 16r30 16rC7 16rF7 16r06 16r20 16rFA 16r01 16r49 16rF8 16r05 \
16rF2 16r20 16rFA 16r01 16r48 16rF3 16rF5] \
#( 0.0 )) >
<primitive 112 pTempVar 2 " sqrt " \
#( #[ 16r20 16rFA 16r01 16r47 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 3 " rounded " \
#( #[ 16r20 16r30 16rC0 16rFA 16r01 16r48 16rF3 16rF5] \
#( 0.5 )) >
<primitive 112 pTempVar 4 " radix: " \
#( #[ 16r20 16r21 16rFA 16r02 16r59 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 5 " ln " \
#( #[ 16r20 16rFA 16r01 16r46 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 6 " integerPart " \
#( #[ 16r20 16rFA 16r01 16r4B 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 7 " gamma " \
#( #[ 16r20 16rFA 16r01 16r4D 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 8 " fractionPart " \
#( #[ 16r20 16rFA 16r01 16r4C 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 9 " floor " \
#( #[ 16r20 16rFA 16r01 16r48 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 10 " exp " \
#( #[ 16r20 16rFA 16r01 16r4F 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 11 " coerce: " \
#( #[ 16r21 16r0A 16r10 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 12 " ceiling " \
#( #[ 16r20 16rFA 16r01 16r49 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 13 " asString " \
#( #[ 16r20 16rFA 16r01 16r4E 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 14 " asFloat " \
#( #[ 16r20 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 15 " arcTan " \
#( #[ 16r05 16r36 16r20 16rFA 16r01 16r56 16rB0 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 16 " arcSin " \
#( #[ 16r05 16r36 16r20 16rFA 16r01 16r54 16rB0 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 17 " arcCos " \
#( #[ 16r05 16r36 16r20 16rFA 16r01 16r55 16rB0 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 18 " ^ " \
#( #[ 16r20 16r21 16rFA 16r02 16r06 16rF7 16r07 16r20 16r21 16rFA 16r02 \
16r58 16rF8 16r05 16rF2 16r20 16r21 16r91 16r00 16rF3 16rF5 \
] \
#( #raisedTo: )) >
<primitive 112 pTempVar 19 " / " \
#( #[ 16r20 16r21 16rFA 16r02 16r06 16rF7 16r07 16r20 16r21 16rFA 16r02 \
16r45 16rF8 16r05 16rF2 16r20 16r21 16r91 16r00 16rF3 16rF5 \
] \
#( #/ )) >
<primitive 112 pTempVar 20 " * " \
#( #[ 16r20 16r21 16rFA 16r02 16r06 16rF7 16r07 16r20 16r21 16rFA 16r02 \
16r44 16rF8 16r05 16rF2 16r20 16r21 16r91 16r00 16rF3 16rF5 \
] \
#( #* )) >
<primitive 112 pTempVar 21 " - " \
#( #[ 16r20 16r21 16rFA 16r02 16r06 16rF7 16r07 16r20 16r21 16rFA 16r02 \
16r3D 16rF8 16r05 16rF2 16r20 16r21 16r91 16r00 16rF3 16rF5 \
] \
#( #- )) >
<primitive 112 pTempVar 22 " + " \
#( #[ 16r20 16r21 16rFA 16r02 16r06 16rF7 16r07 16r20 16r21 16rFA 16r02 \
16r3C 16rF8 16r05 16rF2 16r20 16r21 16r91 16r00 16rF3 16rF5 \
] \
#( #+ )) >
<primitive 112 pTempVar 23 " > " \
#( #[ 16r20 16r21 16rFA 16r02 16r06 16rF7 16r07 16r20 16r21 16rFA 16r02 \
16r3F 16rF8 16r05 16rF2 16r20 16r21 16r91 16r00 16rF3 16rF5 \
] \
#( #> )) >
<primitive 112 pTempVar 24 " < " \
#( #[ 16r20 16r21 16rFA 16r02 16r06 16rF7 16r07 16r20 16r21 16rFA 16r02 \
16r3E 16rF8 16r05 16rF2 16r20 16r21 16r91 16r00 16rF3 16rF5 \
] \
#( #< )) >
<primitive 112 pTempVar 25 " = " \
#( #[ 16r20 16r21 16rFA 16r02 16r06 16rF7 16r07 16r20 16r21 16rFA 16r02 \
16r42 16rF8 16r05 16rF2 16r20 16r21 16r91 16r00 16rF3 16rF5 \
] \
#( #= )) >
<primitive 98 #Float \
<primitive 97 #Float #Number #AmigaTalk:General/Float.st \
#( ) \
#( #truncated #sqrt #rounded #radix: #ln #integerPart #gamma \
#fractionPart #floor #exp #coerce: #ceiling #asString #asFloat #arcTan #arcSin \
#arcCos #^ #/ #* #- #+ #> #< #= ) \
pTempVar 2 4 > #ordinary >